package service.impl;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import dao.BurseDao;
import po.Burse;
import service.BurseService;



@Service("burseService")
@Transactional
public class BurseServiceImpl implements BurseService {
	@Autowired
	private BurseDao burseDao;

	@Override
	public List<Burse> getBurseList() {
		return burseDao.getList();
	}

	@Override
	public int deleteBurse(Integer burseid) {
		return burseDao.delBurse(burseid);
	}

	@Override
	public int addBurse(Burse burse) {
		return burseDao.addBurse(burse);
	}

	@Override
	public Burse getBurseId(Integer id) {
		return burseDao.getBurseId(id);
	}

	@Override
	public int updateBurse(Burse burse) {
		return burseDao.updateBurse(burse);
	}

	@Override
	public List<Burse> findList(String data) {
		return burseDao.findList(data);
	}



}
